package com.hdax.dm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dm.common.utils.CommonResponse;
import com.hdax.dm.dtos.scheduler.SeatDto;
import com.hdax.dm.entity.scheduler.DmSchedulerSeat;

import java.util.List;
import java.util.Map;

public interface SchedulerSeatService extends IService<DmSchedulerSeat> {

    int getSaleCount(Long scheduleId, Long areaLevel);

    CommonResponse<SeatDto> getSeatArray(Long scheduleId);

    boolean changeSeatByOrder(List<DmSchedulerSeat> parmas);

    boolean rollBackSeat(String orderNo);

}
